package com.xmhmyh.generalframework.framework.redisQueue;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.UUID;

@Setter
@Getter
@ToString
public class RedisQueueMessage implements Serializable {
    private static final long serialVersionUID = 4689047472040988935L;
    // 消息
    private String content;

    public RedisQueueMessage() {
    }
    // 定义一个带参数的构造方法方便初始化
    public RedisQueueMessage(String content) {
        this.content = content;
    }

}
